package com.bjx.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.bjx.system.domain.entity.PostEntity;
import com.bjx.system.domain.query.PostQuery;
import com.bjx.system.domain.vo.PostVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @desc: 职位Mapper
 * @author: liushuai
 * @date: 2022/10/15
 */
@Mapper
public interface PostMapper extends BaseMapper<PostEntity> {
    /**
     * 分页查询职位
     * @param page
     * @param postQuery
     * @return: IPage<PostVO>
     * @Author: liushuai
     * @Date: 2022/10/15
     */
    IPage<PostVO> listPostPage(Page page,@Param("query") PostQuery postQuery);
}
